package com.woniu.backparking.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @author HashSong
 * @ClassName: PageResult
 * @Description: 分页条件以及查询条件
 * @date 2021/7/12 10:36
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
public class PageResult implements Serializable {
    //pageNum: "", pageSize: "5", total: "", current: "1"
    private int pageNum;
    private int pageSize;
    private int total;//总条数在大型业务中可以考虑换成String
    private int current;
    private String name01;
    private int state01;
    private int start;//自定义分页开始位置
    private int end;//自定义分页结束位置
}
